package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(description = "用户交易记录")
public class BizUserTradeRecordVO {

    @ApiModelProperty("id")
    @Excel(name = "id")
    private Long id;

    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty("交易类型【1=充值 2=提现 3=转赠 4=购买服务套餐 5=捐助项目 】")
    @Excel(name = "交易类型【1=充值 2=提现 3=转赠 4=购买服务套餐 5=捐助项目 】")
    private String type;

    @ApiModelProperty("交易金额")
    @Excel(name = "交易金额")
    private BigDecimal tradeAmount;

    @ApiModelProperty("交易时间")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tradeTime;

    /** 流水号 */
    @ApiModelProperty("流水号")
    private String serialNumber;



    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

}
